home *** CD-ROM | disk | FTP | other *** search
- -- background: 3237 from stack: in
- -- bmap block id: 3678
- -- flags: 0000
- -- background id: 0
- -- name:
- ----- HyperTalk script -----
- ON OPENCARD
- HIDE BACKGROUND FIELD "SHOW"
- END OPENCARD
-
-
-
- -- part 7 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=286 top=19 right=72 bottom=503
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 8 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=285 top=75 right=125 bottom=502
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 9 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=285 top=129 right=181 bottom=502
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 10 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=284 top=182 right=234 bottom=502
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 13 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=6 top=157 right=216 bottom=128
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: lab name
-
-
- -- part 16 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=77 top=312 right=335 bottom=102
- -- title width / last selected line: 0
- -- icon id / first selected line: 1013 / 1013
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next
- ----- HyperTalk script -----
- on mouseUp
- go to next card
- end mouseUp
-
-
-
- -- part 17 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=44 top=312 right=335 bottom=70
- -- title width / last selected line: 0
- -- icon id / first selected line: 1014 / 1014
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Prev
- ----- HyperTalk script -----
- on mouseUp
- go to prev card
- end mouseUp
-
-
-
- -- part 18 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=11 top=257 right=279 bottom=111
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: pop card
- ----- HyperTalk script -----
- on mouseUp
- pop card
- end mouseUp
-
-
-
- -- part 19 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=6 top=115 right=137 bottom=106
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: go to lab
- ----- HyperTalk script -----
- on mouseUp
- push card
- if field "lab name" is empty then
- ask "what is the name of the lab"
- if it is empty then exit mouseup
- put it into field "lab Name"
- end if
- put field "lab Name" into labName
- go to stack "box1"
- go to card item 1 of labName
- end mouseUp
-
-
-
-
- -- part 20 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=7 top=59 right=110 bottom=126
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: freezer name
-
-
- -- part 21 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=0 top=23 right=45 bottom=100
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: go to freezer
- ----- HyperTalk script -----
- on mouseUp
- push card
- if field "freezer name" is empty then
- ask "what is the name of the freezer"
- if it is empty then exit mouseup
- put it into field "freezer Name"
- end if
- put field "freezer Name" into FreezerName
- go to stack "box2"
- go to card item 1 of FreezerName
- end mouseUp
-
-
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=12 top=233 right=255 bottom=112
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: no. of cards
- ----- HyperTalk script -----
- on mouseUp
- set userlevel to 5
- put empty into message box
- get number of cards
- put "The total Number of Cards = " into word 1 of message
- put it into word 7 of message
- set userlevel to 2
- end mouseUp
-
-
-
- -- part 27 (button)
- -- low flags: 00
- -- high flags: 8000
- -- rect: left=103 top=25 right=66 bottom=144
- -- title width / last selected line: 0
- -- icon id / first selected line: 32462 / 32462
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Help
- ----- HyperTalk script -----
- on mouseUp
- push card
- go to card id 11167 of stack "box4"
- end mouseUp
-
-
-
-
- -- part 30 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=1 top=312 right=342 bottom=35
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Zoom
- ----- HyperTalk script -----
- on mouseUp
-
- global FF
- global LL
- global CC
- global MM
- put empty into MM
- put 1 into CC
- ask "Which field you like to see?" with "1"
- if it is empty then exit mouseUp
- if it is not in "123456" then exit mouseUp
- put it into WFF
- if WFF is "1" then put 1 into FF
- if WFF is "2" then put 2 into FF
- if WFF is "3" then put 3 into FF
- if WFF is "4" then put 4 into FF
- if WFF is "5" then put 7 into FF
- if WFF is "6" then put 8 into FF
- get the number of lines in field FF
- put it into LL
- repeat for LL times
- set cursor to busy
- get line CC of field FF
- put it after MM
- put return after MM
- add 1 to CC
- end repeat
-
- put MM into field "SHOW"
- repeat with c = 1 to number of card buttons
- Hide card button c
- end repeat
- repeat with c = 1 to number of card FIELDS
- Hide card FIELD c
- end repeat
-
- hide card picture
-
- show field "show"
-
- end mouseUp
-
-
-
- -- part 31 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=0 top=283 right=311 bottom=35
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: hide
- ----- HyperTalk script -----
- on mouseUp
- global LL
- global FF
- global CC
- global MM
- put 1 into CC
- put empty into MM
- get the number of lines in field "show"
- put it into LL
- repeat for LL times
- get line CC of field "SHOW"
- put it after MM
- add 1 to CC
- end repeat
- show card picture
- hide field "SHOW"
- repeat with c =1 to number of card buttons
- show card button c
- end repeat
- repeat with c =1 to number of card fields
- show card field c
- end repeat
- end mouseUp
-
-
-
- -- part 32 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=11 top=200 right=222 bottom=108
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Empty all
- ----- HyperTalk script -----
- on mouseUp
- answer "Do you want to empty all fields?" with "yes" or "no" or "cancel"
- if it is "no" then exit mouseUp
- if it is "cancel" then exit mouseUp
- repeat with i=1 to number of fields
- put empty into field i
- end repeat
- repeat with i=1 to number of card fields
- put empty into field i
- end repeat
- end mouseUp
-
-
-
- -- part 34 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=285 top=236 right=289 bottom=502
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 35 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=285 top=291 right=342 bottom=503
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 36 (field)
- -- low flags: 80
- -- high flags: 4007
- -- rect: left=51 top=22 right=342 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: SHOW
-
-
- -- part 37 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=11 top=173 right=195 bottom=111
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: New Card
- ----- HyperTalk script -----
- on mouseUp
- answer "Make another card like this one? " with "yes" or "no" or "cancel"
- if it is "cancel" then exit mouseUp
- if it is "no" then
- put "Go to the card which you want to copy" into the message box
- exit mouseUp
- end if
-
- if it is "yes" then
-
- domenu "copy Card"
- domenu paste card
- set name of this card to empty
- repeat with i=1 to number of fields
- put empty into field i
- end repeat
- repeat with i=1 to number of card fields
- put empty into field i
- end repeat
- put empty into field "Name"
- end if
-
- end mouseUp
-
-
-
- -- part 38 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=143 top=24 right=46 bottom=267
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Name
-